<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>L2LB: Referência ao ficheiro hash_function.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li class="current"><a href="files.html"><span>Ficheiros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência ao ficheiro hash_function.h</h1><code>#include &quot;stdint.h&quot;</code><br>

<p>
<a href="hash__function_8h-source.html">Ir para o código fonte deste ficheiro.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Macros</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash__function_8h.html#bc7d71657be8975a51684e41029b7964">get16bits</a>(d)</td></tr>

<tr><td colspan="2"><br><h2>Funções</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash__function_8h.html#d1a1b70cff8b395958e4f62f1f02f1bc">__hash</a> (const char *data, int len)</td></tr>

</table>
<hr><h2>Documentação das macros</h2>
<a class="anchor" name="bc7d71657be8975a51684e41029b7964"></a><!-- doxytag: member="hash_function.h::get16bits" ref="bc7d71657be8975a51684e41029b7964" args="(d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define get16bits          </td>
          <td>(</td>
          <td class="paramtype">d&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Valor:</b><div class="fragment"><pre class="fragment">((((<span class="keyword">const</span> uint8_t *)(d))[1] &lt;&lt; UINT32_C(8))\
                                      +((<span class="keyword">const</span> uint8_t *)(d))[0])
</pre></div>
<p>Definido na linha <a class="el" href="hash__function_8h-source.html#l00015">15</a> do ficheiro <a class="el" href="hash__function_8h-source.html">hash_function.h</a>.</p>

<p>Referenciado por <a class="el" href="hash__function_8h-source.html#l00019">__hash()</a>.</p>

</div>
</div><p>
<hr><h2>Documentação das funções</h2>
<a class="anchor" name="d1a1b70cff8b395958e4f62f1f02f1bc"></a><!-- doxytag: member="hash_function.h::__hash" ref="d1a1b70cff8b395958e4f62f1f02f1bc" args="(const char *data, int len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t __hash           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__function_8h-source.html#l00019">19</a> do ficheiro <a class="el" href="hash__function_8h-source.html">hash_function.h</a>.</p>

<p>Referências <a class="el" href="hash__function_8h-source.html#l00015">get16bits</a> e <a class="el" href="hash-afinidades_8h-source.html#l00069">hash()</a>.</p>

<p>Referenciado por <a class="el" href="hash__table_8h-source.html#l00085">hash_table_hash_code()</a> e <a class="el" href="hash__table_8h-source.html#l00092">hash_table_hash_code_safe()</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Sep 10 22:06:26 2008 para L2LB por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
